@(expression: String, ads: List[Advertisement])

@import helper._


@main("Search result: " + expression) {

<fieldset>
	@for(ad <- ads){
			<div class="span3" style="width:350px; margin:0 auto; padding: 7px; ;">
			<h5>@ad.getName()</h5>
			<div  style="height:254px;">
				<a href='/product/info/@ad.getId()'>
					<img class="img-responsive" src="@routes.Assets.at("images/advertisement/")@ad.getPhoto()"/>
				</a>
			</div>
				
			<hr />
			<p>Price: @ad.getPrice() HUF </p><br />
			<p>Description: <a href='/advertisement/info/@ad.getId()'>Details-></a></p>
			<!--<a href="javascript:history.go(-1)"><-back</a>-->
		</div>
	}
</fieldset>
}